package com.retirement.policy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.retirement.policy.domain.dto.PropertyPolicyDto;
import com.retirement.policy.entity.PropertyPolicy;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lijy
 * @since 2024-01-16
 */

public interface PropertyPolicyMapper extends BaseMapper<PropertyPolicy> {

    int insertPropertyPolicyFields(PropertyPolicy propertyPolicy);

    int deleteQg();

    int deleteGd();

    int selectCountQg();

    int selectCountGd();

    int selectCountYq();

    int selectPropertyPolicyFields();

    int selectCountPropertyPolicyFields();

    int selectCountPropertyPolicyFieldsGd();

    List<PropertyPolicy> getListPolicy(PropertyPolicyDto dto);

}
